#2D173A
Color Details
HEX
#2D173A
RGB
rgb(45, 23, 58)
HSL
hsl(278, 43%, 16%)
CMYK
cmyk(22%, 60%, 0%, 77%)
Best text on this color
#FFFFFF (CR 16.21:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2D173A
#2D173A converts to RGB(45, 23, 58) and HSL(278, 43%, 16%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#2D173A FAQs
What is the RGB value of #2D173A?
RGB: 45, 23, 58. Copy as CSS:
rgb(45, 23, 58)
Is #2D173A a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2D173A?
Complement: #243a17.
Does #2D173A have good contrast on white or black?
On white: 16.21:1 (AAA (normal text)).
On black: 1.30:1 (Fails AA).